package com.jt.demo02.service;

import com.jt.demo02.anno.Find;
import com.jt.demo02.anno.cgb2110;
import org.springframework.stereotype.Service;

@Service

public class UserServiceImpl implements UserService {
    @Override
    @cgb2110
    @Find(id = 101)
    public void addUser() {
        System.out.println("生成成功");
    }

    @Override
    public void deleteUser() {
        System.out.println("删除成功");
    }

    @Override
    @cgb2110
    public int findCount() {
        return 1000;
    }
}
